package com.hxbd.test.handles;

import java.util.ArrayList;

import com.hxbd.service.JsonArrayCompareService;
import com.hxbd.service.JsonObjectCompareService;
import com.hxbd.service.ObjectCompareService;
import com.hxbd.service.UtilService;
import com.hxbd.test.utils.JsonArrayCompare;
import com.hxbd.test.utils.JsonObjectCompare;
import com.hxbd.test.utils.ObjectCompare;
import com.hxbd.test.utils.PlatformUtil;

public class GetAllClassHandler {
	public static ArrayList<Class> getAllClass() {
		ArrayList<Class> l = GetAllClassByInterfaceOrSuperClass
				.getAllChildClassByInterface(UtilService.class,PlatformUtil.class);
		return l;
	}
	public static ArrayList<Class> getAllJsonArrayJsonCompare() {
		ArrayList<Class> l = GetAllClassByInterfaceOrSuperClass
				.getAllChildClassByInterface(JsonArrayCompareService.class,JsonArrayCompare.class);
		return l;
	}
	public static ArrayList<Class> getAllJsonObjectCompare() {
		ArrayList<Class> l = GetAllClassByInterfaceOrSuperClass
				.getAllChildClassByInterface(JsonObjectCompareService.class,JsonObjectCompare.class);
		return l;
	}
	public static ArrayList<Class> getAllObjectCompare() {
		ArrayList<Class> l = GetAllClassByInterfaceOrSuperClass
				.getAllChildClassByInterface(ObjectCompareService.class,ObjectCompare.class);
		return l;
	}
}
